package com.tfswx.jcyw.dmzc.action;

import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.actionSystem.AnActionEvent;
import com.tfswx.jcyw.dmzc.window.ScreenCaptureWindow;
import org.jetbrains.annotations.NotNull;

public final class ZcjlAddByShotAction extends AnAction {
    public ZcjlAddByShotAction(String text) {
        super(text);
    }

    public ZcjlAddByShotAction() {
        this("手动截图");
    }

    @Override
    public void actionPerformed(@NotNull AnActionEvent e) {
        new ScreenCaptureWindow();
    }
}
